package com.zhuangjie.shop.enums;

/**
 * 活动类型ID
 */
public enum ActivityType {
    FULL_REDUCTION(1L, "满减活动"),
    NEW_CUSTOMER_DISCOUNT(2L, "新客立减"),
    DELIVERY_FEE_DISCOUNT(3L, "减配送费"),
    SUPER_MEMBER_COUPON(4L, "神会员膨胀券");

    private final long code;
    private final String name;

    ActivityType(long code, String name) {
        this.code = code;
        this.name = name;
    }

    public long getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}